package com.vercon.moensmart.mode.response;

import java.io.Serializable;

public class BaseResponse<T> implements Serializable {

    public int code = -1;
    public String message = "";
    public String request_id = "";
    public T data;

    public boolean isSuccessful(){
        return code == 0 && message.equals("SUCCESS");
    }

}
